package com.sxg.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import com.sxg.utils.DateUtils;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
* 用户表
*
* @author 浪漫写尽歌谱 3298751420@qq.com
* @since 1.0.0 2024-03-07
*/
@Data
public class SxgUserVO implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

	private String userName;

	private String password;

	private String email;

	@NotNull
	private String gender;

	@NotNull
	private String nickName;

	private String avatar;

	private String signature;

	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN, timezone = "GMT+8")
	private Date createTime;

	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN, timezone = "GMT+8")
	private Date updateTime;

}